package com.teach.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.teach.util.DBUtil;
import java.io.Serializable;

/**
 * <pre>
 * - 参赛人员实体类
 * Author : J.L.Zhou
 * E-Mail : 12020042@qq.com
 * Tel : 151 1104 7708
 * Date : 2022-05-04 14:19
 * Version : 1.0
 * Copyright 2021 jlzhou.top Inc. All rights reserved.
 * Warning: this content is only for internal circulation of the company.
 *          It is forbidden to divulge it or use it for other commercial purposes.
 * </pre>
 */
public class SportsmanInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * SPORTSMAN_ID INT 参赛人员编号
     */
    @DBUtil.Id
    private Integer sportsmanId;

    /**
     * COUNTRY_CODE VARCHAR 国家代码
	 *             例如:中国-cn 美国-us
	 *                  */
    private String countryCode;

    /**
     * SPORTSMAN_NAME VARCHAR 参赛人员姓名
     */
    private String sportsmanName;

    /**
     * SPORTSMAN_BRITHDATE DATE 参赛人员出生日期
     */
    @JSONField(format = "yyyy-MM-dd")
    private java.util.Date sportsmanBrithdate;

    /**
     * SPORTSMAN_HEIGHT INT 参赛人员身高
     */
    private Integer sportsmanHeight;

    /**
     * SPORTSMAN_WEIGTH DECIMAL 参赛人员体重
     */
    private java.math.BigDecimal sportsmanWeigth;

    /**
     * SPORTSMAN_URI VARCHAR 参赛人员相片URI
     */
    private String sportsmanUri;

    /**
     * SPORTSMAN_DESC TEXT 参赛人员简介
     */
    private String sportsmanDesc;

    /**
     * - 无参构造方法
     */
    public SportsmanInfo(){}

    /**
     * - 全参构造方法
     */
    public SportsmanInfo(Integer sportsmanId, String countryCode, String sportsmanName, java.util.Date sportsmanBrithdate, Integer sportsmanHeight, java.math.BigDecimal sportsmanWeigth, String sportsmanUri, String sportsmanDesc){
        this.sportsmanId = sportsmanId;
        this.countryCode = countryCode;
        this.sportsmanName = sportsmanName;
        this.sportsmanBrithdate = sportsmanBrithdate;
        this.sportsmanHeight = sportsmanHeight;
        this.sportsmanWeigth = sportsmanWeigth;
        this.sportsmanUri = sportsmanUri;
        this.sportsmanDesc = sportsmanDesc;
    }

    /**
     * - 主键构造方法
     */
    public SportsmanInfo(Integer sportsmanId){
        this.sportsmanId = sportsmanId;
    }


    /**
     * - 获取参赛人员编号
     */
    public Integer getSportsmanId(){
        return sportsmanId;
    }

    /**
     * - 设置参赛人员编号
     */
    public void setSportsmanId(Integer sportsmanId){
        this.sportsmanId = sportsmanId;
    }

    /**
     * - 获取国家代码
     */
    public String getCountryCode(){
        return countryCode;
    }

    /**
     * - 设置国家代码
     */
    public void setCountryCode(String countryCode){
        this.countryCode = countryCode;
    }

    /**
     * - 获取参赛人员姓名
     */
    public String getSportsmanName(){
        return sportsmanName;
    }

    /**
     * - 设置参赛人员姓名
     */
    public void setSportsmanName(String sportsmanName){
        this.sportsmanName = sportsmanName;
    }

    /**
     * - 获取参赛人员出生日期
     */
    public java.util.Date getSportsmanBrithdate(){
        return sportsmanBrithdate;
    }

    /**
     * - 设置参赛人员出生日期
     */
    public void setSportsmanBrithdate(java.util.Date sportsmanBrithdate){
        this.sportsmanBrithdate = sportsmanBrithdate;
    }

    /**
     * - 获取参赛人员身高
     */
    public Integer getSportsmanHeight(){
        return sportsmanHeight;
    }

    /**
     * - 设置参赛人员身高
     */
    public void setSportsmanHeight(Integer sportsmanHeight){
        this.sportsmanHeight = sportsmanHeight;
    }

    /**
     * - 获取参赛人员体重
     */
    public java.math.BigDecimal getSportsmanWeigth(){
        return sportsmanWeigth;
    }

    /**
     * - 设置参赛人员体重
     */
    public void setSportsmanWeigth(java.math.BigDecimal sportsmanWeigth){
        this.sportsmanWeigth = sportsmanWeigth;
    }

    /**
     * - 获取参赛人员相片URI
     */
    public String getSportsmanUri(){
        return sportsmanUri;
    }

    /**
     * - 设置参赛人员相片URI
     */
    public void setSportsmanUri(String sportsmanUri){
        this.sportsmanUri = sportsmanUri;
    }

    /**
     * - 获取参赛人员简介
     */
    public String getSportsmanDesc(){
        return sportsmanDesc;
    }

    /**
     * - 设置参赛人员简介
     */
    public void setSportsmanDesc(String sportsmanDesc){
        this.sportsmanDesc = sportsmanDesc;
    }

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("SportsmanInfo [sportsmanId=");
		builder.append(sportsmanId);
		builder.append(", countryCode=");
		builder.append(countryCode);
		builder.append(", sportsmanName=");
		builder.append(sportsmanName);
		builder.append(", sportsmanBrithdate=");
		builder.append(sportsmanBrithdate);
		builder.append(", sportsmanHeight=");
		builder.append(sportsmanHeight);
		builder.append(", sportsmanWeigth=");
		builder.append(sportsmanWeigth);
		builder.append(", sportsmanUri=");
		builder.append(sportsmanUri);
		builder.append(", sportsmanDesc=");
		builder.append(sportsmanDesc);
		builder.append("]");
		return builder.toString();
	}
}
